package com.star.eastern.blee

import android.content.Intent
import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import java.util.*

class Splash : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_splash)

        val localIntent = Intent(this, MainActivity::class.java)
        val timer = Timer()
        val tast = object : TimerTask() {
            override fun run() {
                  startActivity(localIntent)
            }
        }
        timer.schedule(tast, 1500)
    }


    }



